计算机与现代化 ›› 2013, Vol. 1 ›› Issue (5): 149-154.doi: 10.3969/j.issn.1006-2475.2013.05.036

• 应用与开发 • 上一篇    下一篇

基于Mathematica的线性方程组的可视化求解

王福贵,侯建文   

  1. 山西农业大学文理学院,山西太谷030801
  • 收稿日期:2012-12-28 修回日期:1900-01-01 出版日期:2013-05-28 发布日期:2013-05-28

Visual Solution of System of Linear Equations Based on Mathematica

WANG Fu-gui, HOU Jian-wen   

  1. College of Arts and Sciences, Shanxi Agricultural University, Taigu 030801, China
  • Received:2012-12-28 Revised:1900-01-01 Online:2013-05-28 Published:2013-05-28

摘要: 在Mathematica 7.0环境下,编写实施矩阵初等行变换、化矩阵为行最简形矩阵、显示增广矩阵、可视化求解线性方程组等函数,其中可视化求解函数提供了两种用法。熟悉Mathematica用法的用户可以输入带参数的求解函数来求解线性方程组;另一种用法是输入不带参数的求解函数,程序将输出交互式可视化的求解界面,在此界面上用户可以方便地输入方程个数、未知量个数以及增广矩阵,点击求解按钮后即可输出线性方程组的求解过程及通解。

关键词: Mathematica软件, 矩阵初等行变换, 线性方程组, 增广矩阵, 可视化

Abstract: Functions of elementary row operation of matrix, row reduced echelon matrix, augmented matrix, and visual solution of system of linear equations, are programmed in Mathematica 7.0 environment. Then two types of usages of the function of visual solution of system of linear equations are also discussed: users who are familiar with Mathematica 7.0 can input function with parameters to solve the system of linear equations; while any users can conveniently input the number of equations and variables, and augmented matrix after inputting function without parameters, and finally the process and general solution of the system of linear equations are output just by clicking solution button.

Key words: Methematica software, elementary row operation of matrix, system of linear equations, augmented matrix, visualization

中图分类号: